const path = require("path");

module.exports = {
  entry: "./src/index.js",
  mode: "development",
  output: {
    path: path.resolve(__dirname, "dist"),
    filename: "bundle.js",
  },
  module: {
    rules: [
      {
        test: /.txt$/,
        use: [
          "./loaders/loader-a.js",
          "./loaders/loader-b.js",
          "./loaders/loader-c.js",
        ],
      },
    ],
  },
};
